package com.dlu.safe_construction.dto;

import com.dlu.safe_construction.model.Manager;

/**
 * Created by  lijiaxing on 2022/3/30 16:32
 *
 * @author lijiaxing
 */
public class ManagerInfoDTO extends Manager {

    public static ManagerInfoDTO fromInfoCreate(String userId, String userPhone, String userName) {
        ManagerInfoDTO managerInfoDTO = new ManagerInfoDTO();
        managerInfoDTO.setUserId(userId);
        managerInfoDTO.setUserName(userName);
        managerInfoDTO.setUserPhone(userPhone);
        return managerInfoDTO;
    }

}
